<center><b>{% if $is_show ==1 %}内容查看{%else%}{%$act_title%}表单{%/if%}</b></center>
<table border=1>
<form action="index.php?c=info_product_type&m={%$act%}&post=1" method=post name=frm>
		<tr>
		<td>分类名称</td>
		<td><input type=text name="type_name" size=30 value='{%$type_name%}' {% if $is_show ==1 %} readonly {%/if%}></td>
	</tr>
		<tr>
		<td>上级分类</td>
		<td>
			<select name=type_f_id>
				{%html_options selected=$type_f_id options=$first_arr%}
			</select>
			</td>
	</tr>
		<tr>
		<td colspan=2 align=center>
		<input type=hidden name='type_id' id='type_id' value='{%$type_id%}'>
		{% if $is_show ==1 %}
		<input type="button" value="返回" class="btn" onclick="javascript:history.go(-1);">
		{% else %}
		<input type=submit value="提交" class="btn">&nbsp;&nbsp;
		<input type=reset value="重置" class="btn">
		{% /if %}
		</td>
	</tr>
</form>
</table>